package Day08_20;

public class Test_ThreadSafe01 {
    public static void main(String[] args) {

        Account account = new Account(10000);
        Thread t1 = new Thread1(account,5000);
        Thread t2 = new Thread1(account,5000);
        t1.setName("t1");
        t2.setName("t2");

        t1.start();
        t2.start();

    }
}
